package com.czmh.etc.interpreter.entity.request;

import com.czmh.etc.interpreter.entity.base.EnMessagetype;
import com.czmh.etc.interpreter.entity.base.RequestBody;

/**
 * Created by Huangyk on 2019/6/5.
 */
public class LoadRequest extends RequestBody {
    public static int MSG_LEN = RequestBody.BODY_LEN + 121;

    /// <summary>
    /// 卡号
    /// </summary>
    public String CardNo;
    /// <summary>
    /// 操作类型，1：充值；2：冲正；3补卡充值[修改类型]
    /// </summary>
    public byte OptType;
    /// <summary>
    /// 充值\冲正金额
    /// </summary>
    public long StoreMoney;
    /// <summary>
    /// 回退金额，收费车道多扣，需要回退的金额
    /// </summary>
    public long ReturnMoney;
    /// <summary>
    /// 卡内余额，卡内余额（充值前卡内余额）
    /// </summary>
    public long Balance;
    /// <summary>
    /// 联机序列号
    /// </summary>
    public String OnlineSN;
    /// <summary>
    /// 脱机序列号
    /// </summary>
    public String OfflineSN;
    /// <summary>
    /// 业务时间
    /// </summary>
    public String StoreTime;
    /// <summary>
    /// 随机数
    /// </summary>
    public String Random;
    /// <summary>
    /// Mac1加密
    /// </summary>
    public String Mac1;
    /// <summary>
    /// 老卡卡号,补卡充值的老卡卡号，充值和冲正业务填“0”
    /// </summary>
    public String OldCardNo;
    
    public LoadRequest() {
        super(EnMessagetype.LoadRequest);
    }

    public String getCardNo() {
        return CardNo;
    }

    public void setCardNo(String cardNo) {
        CardNo = cardNo;
    }

    public byte getOptType() {
        return OptType;
    }

    public void setOptType(byte optType) {
        OptType = optType;
    }

    public long getStoreMoney() {
        return StoreMoney;
    }

    public void setStoreMoney(long storeMoney) {
        StoreMoney = storeMoney;
    }

    public long getReturnMoney() {
        return ReturnMoney;
    }

    public void setReturnMoney(long returnMoney) {
        ReturnMoney = returnMoney;
    }

    public long getBalance() {
        return Balance;
    }

    public void setBalance(long balance) {
        Balance = balance;
    }

    public String getOnlineSN() {
        return OnlineSN;
    }

    public void setOnlineSN(String onlineSN) {
        OnlineSN = onlineSN;
    }

    public String getOfflineSN() {
        return OfflineSN;
    }

    public void setOfflineSN(String offlineSN) {
        OfflineSN = offlineSN;
    }

    public String getStoreTime() {
        return StoreTime;
    }

    public void setStoreTime(String storeTime) {
        StoreTime = storeTime;
    }

    public String getRandom() {
        return Random;
    }

    public void setRandom(String random) {
        Random = random;
    }

    public String getMac1() {
        return Mac1;
    }

    public void setMac1(String mac1) {
        Mac1 = mac1;
    }

    public String getOldCardNo() {
        return OldCardNo;
    }

    public void setOldCardNo(String oldCardNo) {
        OldCardNo = oldCardNo;
    }
}
